<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="../common/base.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>

<meta http-equiv="X-UA-Compatible" content="IE=10" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>login</title>
<link href="${path }/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="${path }/dist/css/Buttom.css" rel="stylesheet" />
<link href="${path }/dist/css/flat-ui.css" rel="stylesheet">


<link
	href="http://cdn.bootcss.com/font-awesome/4.2.0/css/font-awesome.min.css"
	rel="stylesheet">
<%--png 图标 --%>
<%-- 属flat-ui--%>
<%--<link href="${path }/dist/css/bootstrap2/bootstrap-switch.css" rel="stylesheet">--%>

<style type="text/css">
	table tr .title{
		width: 200px;
	}
	table tr .text{
		width: 300px;
		color: #5bc0de;
	}
}
</style>

</head>
<body>
	<div class="panel panel-default">
		<div class="panel-heading" style="background: none;">
			<span class="fui-new"></span> <span>用户信息</span>
		</div>
		<div class="panel-body" style="padding: 0px;">
		<form action="${path }/newuser/new" id="newUser" method="post">
			<div class="table-responsive">
				<table class="table table-bordered table-hover">
					<thead>
						<tr><th colspan="4">只有管理员才可以查看</th></tr>
					</thead>
					<tbody>
						<tr><td class="title">用户名：</td>
							<td class="text">${requestScope.userreq.account}</td>
							<td class="title">真实姓名：</td>
							<td class="text">${requestScope.userreq.fullname}</td>
						</tr>
						<tr><td class="title">主角色：</td>
							<td class="text">${requestScope.userreq.roleid}</td>
  						</tr>
						<tr><td class="title">辅助角色：</td>
							<td class="text"> ${requestScope.userreq.sroleid}</td>
						</tr>
						<tr><td class="title">用户排序号：</td><td></td></tr>
						<tr><td class="title">部门：</td>
							<td class="text">${requestScope.userreq.empid.empname}</td></tr>
						<tr><td class="title">管理范围：</td>
							<td class="text">${requestScope.userreq.range}</td>
  						</tr>
						<tr><td class="title">系统访问控制：</td>
							
  						</tr>
						<tr><td class="title">考勤排班类型：</td>
							<td class="text">${requestScope.userreq.scheduling}</td>
  							<td class="title">IMA广播权限：</td>
  							<td></td>
  						</tr>
						<tr><td class="title">绑定ip地址：</td><td class="text">${requestScope.userreq.ip}</td></tr>
						<tr><td class="title">内部邮箱容量：</td>
							<td class="text">${requestScope.userreq.emailCapacity}MB</td>
							<td class="title">个人文件柜容量：</td>
							<td class="text">${requestScope.userreq.fileCapacity}MB</td>
						</tr>
					</tbody>
				</table>
				
				
				<table class="table table-bordered table-hover">
					<thead>
						<tr>
							<th colspan="4">用户详细信息：</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td class="title">别名：</td>
							<td class="text">${requestScope.userreq.userdetailedid.aliases}</td>
							<td class="title">性别：</td>
  							<td class="text">${requestScope.userreq.userdetailedid.sex}
							</td>
						</tr>
						<tr><td class="title">生日：</td>
						<td class="text"><fmt:formatDate value="${requestScope.userreq.userdetailedid.birthday}" type="both" pattern="MM-dd" /></td></tr>
					</tbody>
					<tfoot>
						<tr>
							<td colspan="4" style="text-align: center;">
								<button type="button" class="btn btn-primary" >确认</button>
								<button type="button" class="btn btn-danger" >取消</button>
							</td>
						</tr>
					</tfoot>
				</table>
				
			</div>
			</form>
		</div>
	</div>

	<script src="${path }/dist/js/jquery.min.js"></script>
	<script src="${path }/dist/js/bootstrap.min.js"></script>
	<script type="text/javascript">
	<!--
		$(document).ready(function(){

		});
	//-->
	</script>
<c:if test="${tip != null }" >
	<script>
		alert('${tip}');
	</script>
</c:if>
</body>
</html>